export default [
  {
    url: '/user/login',
    method: 'post',
    response: ({ query }) => {
      return {
        code: 0,
        data: {
          token: 'af57523d2cdfa1fdbacf42b9e47a3fd1',
          userSeqId:'54992707'
        },
      }
    },
  },
  {
    url: '/platform/index/searchCollection',
    method: 'post',
    response: ({ query }) => {
      return {
        "code": 200,
        "data": {
            "endRow": 2,
            "hasNextPage": false,
            "hasPreviousPage": false,
            "isFirstPage": true,
            "isLastPage": true,
            "list": [
                {
                    "brief": "测试2",
                    "collectionStatus": 1,
                    "courseCount": 0,
                    "coverImgUrl": "https://sharepool-1257784922.cos.ap-beijing.myqcloud.com/img/1690448544028.jpeg",
                    "createTime": 1696820012000,
                    "duration": 50,
                    "free": false,
                    "lecturer": "李白",
                    "price": 1000,
                    "sid": "2",
                    "status": true,
                    "title": "测试2",
                    "viewStatus": false
                },
                {
                    "brief": "测试1",
                    "collectionStatus": 1,
                    "courseCount": 2,
                    "coverImgUrl": "https://sharepool-1257784922.cos.ap-beijing.myqcloud.com/img/1690366086259.jpeg",
                    "createTime": 1696752583000,
                    "duration": 160,
                    "free": true,
                    "lecturer": "韩立",
                    "price": 0,
                    "sid": "1",
                    "status": true,
                    "title": "测试1",
                    "viewCount": 420,
                    "viewStatus": true
                },
                {
                  "brief": "测试2",
                  "collectionStatus": 1,
                  "courseCount": 0,
                  "coverImgUrl": "https://sharepool-1257784922.cos.ap-beijing.myqcloud.com/img/1690448544028.jpeg",
                  "createTime": 1696820012000,
                  "duration": 50,
                  "free": false,
                  "lecturer": "李白",
                  "price": 1000,
                  "sid": "2",
                  "status": true,
                  "title": "测试2",
                  "viewStatus": false
              },
              {
                  "brief": "测试1",
                  "collectionStatus": 1,
                  "courseCount": 2,
                  "coverImgUrl": "https://sharepool-1257784922.cos.ap-beijing.myqcloud.com/img/1690366086259.jpeg",
                  "createTime": 1696752583000,
                  "duration": 160,
                  "free": true,
                  "lecturer": "韩立",
                  "price": 0,
                  "sid": "1",
                  "status": true,
                  "title": "测试1",
                  "viewCount": 420,
                  "viewStatus": true
              },
              {
                "brief": "测试2",
                "collectionStatus": 1,
                "courseCount": 0,
                "coverImgUrl": "https://sharepool-1257784922.cos.ap-beijing.myqcloud.com/img/1690448544028.jpeg",
                "createTime": 1696820012000,
                "duration": 50,
                "free": false,
                "lecturer": "李白",
                "price": 1000,
                "sid": "2",
                "status": true,
                "title": "测试2",
                "viewStatus": false
            },
            ],
            "navigateFirstPage": 1,
            "navigateLastPage": 1,
            "navigatePages": 8,
            "navigatepageNums": [
                1
            ],
            "nextPage": 0,
            "pageNum": 1,
            "pageSize": 5,
            "pages": 1,
            "prePage": 0,
            "size": 2,
            "startRow": 1,
            "total": 20
        },
        "message": "成功"
    }
    },
  },
  {
    url: '/user/info',
    method: 'get',
    response: ({ query }) => {
      return {
        code: 0,
        data: {
          username:'maxiaolin'
        },
      }
    },
  },
]